package cn.cqie.attendance.teacher.dao;

import cn.cqie.attendance.teacher.pojo.TeacherCourseReq;
import cn.cqie.attendance.teacher.pojo.TeacherCourseRes;
import cn.cqie.attendance.teacher.pojo.TeacherStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author wqh
 * @date 2021/6/15 12:41
 */

@Mapper
public interface TeacherCourseDao {
    /**
     * 1.查看当前老师的所有课程安排
     */
    List<TeacherCourseRes> queryCourseArrangeByTeacherId(@Param("param") TeacherCourseReq param);
    /**
     * 1.查看当前老师的所有课程总数
     */
    int queryCountCourse(@Param("param") TeacherCourseReq param);
    /**
     * 2.查看该老师该课程下的所有学生
     */
    List<TeacherStudent> queryStudentInfoByCourseId(Map<String,Object> map);

}
